package com.mc.read.dao.vo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * WebSocket 聊天消息类
 */
@Data
public class Message {

    private String username; //发送人

    private Integer userid;

    private String msg; //发送消息

    private Date nowtime;
    //1连接 2发送
    private Integer type;

    private List<Message> messageList;

}
